package com.cxs.service.impl;

import com.cxs.mapper.ClassesMapper;
import com.cxs.service.ClassesService;
import cxs.utils.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/*
 * @Author:cxs
 * @Date:2021/10/11  20:48
 * @Version 1.0
 * @Motto:放下杂念,只为迎接明天更好的自己
 * */
@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public Result list() {
        return Result.OK("ok",classesMapper.selectByExample(null));
    }
}
